<template>
  <div>
    <User/>
  </div>
</template>

<script>
import Cookie from 'js-cookie'
import User from './components/User'
export default {
  data () {
    return {

    }
  },
  beforeCreate () {
    if (Cookie.get('auth') == null) {
      this.$router.push('/Login')
    }
  },
  components: {
    User
  }
}
</script>

<style scoped>
</style>
